package com.design.mediator.football;

/**
 * @author xiemiao
 * @description
 * @date 2023/08/17
 */
public class FootBallReferee implements Referee {
    @Override
    public void handleConflict(Player player1, Player player2) {
        System.out.println("裁判调停" + player1.getName() + player2.getName() + "的冲突");
    }

    @Override
    public void handleGoal(Player scorer) {
        System.out.println("裁判确认球进了，进球者是 " + scorer.getName());
    }
}
